package com.missyoubug.easyjtest.config;

import com.missyoubug.easyjtest.controller.MainController;
import com.missyoubug.easyjtest.entity.*;
import com.missyoubug.easyjtest.service.impl.EasyTestServiceImpl;
import com.missyoubug.easyjtest.util.ApplicationContextHelper;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class BeanFactoryConfig {
    @Bean
    public MainController getMainController() {
        return new MainController();
    }

    @Bean
    public EasyTestServiceImpl getEasyTestServiceImpl() {
        return new EasyTestServiceImpl();
    }

    @Bean
    public EasyTestBeanMethodVO getEasyTestBeanMethodVO() {
        return new EasyTestBeanMethodVO();
    }

    @Bean
    public EasyTestBeanMsgVO getEasyTestBeanMsgVO() {
        return new EasyTestBeanMsgVO();
    }

    @Bean
    public EasyTestBeanParameterVO getEasyTestBeanParameterVO() {
        return new EasyTestBeanParameterVO();
    }
    @Bean
    public EasyTestEntity getEasyTestEntity(){
        return new EasyTestEntity();
    }
    @Bean
    public EasyTestInfoEntity getEasyTestInfoEntity(){
        return new EasyTestInfoEntity();
    }
    @Bean
    public ApplicationContextHelper getApplicationContextHelper(){
        return new ApplicationContextHelper();
    }
    @Bean
    public BrowserOpener getBrowserOpener(){
        return new BrowserOpener();
    }


}
